﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using GnToolControls.Convert;

namespace GnToolControls
{
    /// <summary>
    /// UserControl2.xaml에 대한 상호 작용 논리
    /// </summary>
    public partial class ResourceConvert : GnToolMain.LockPane
    {
		ConvertComposedcs _convertComposedcs = new ConvertComposedcs();
		internal ConvertComposedcs ConvertComposedcs
		{
			get
			{
				return _convertComposedcs;
			}
		}

        public ResourceConvert()
        {
            InitializeComponent();
            foreach( Microsoft.Windows.Controls.DataGridColumn column in dGridConvertList.Columns )
			{
				Double width = column.ActualWidth;
			}
			//TabItem item = tabControl1.Items[0];
        }


		private void OnSizeChanged( object sender, SizeChangedEventArgs e )
		{
			String name = this.ToString();
		}

		private void LoadXmlUmsg( object sender, RoutedEventArgs e )
		{

		}

		private void SaveXmlUmsg( object sender, RoutedEventArgs e )
		{
			//System.Windows.Forms.FileDialogCustomPlace

			//Environment.SpecialFolder.
			ConvertComposedcs.SaveXml( @"D:\test.xml" );
		}

		private void LoadedUmsg( object sender, RoutedEventArgs e )
		{

		}
    }
}
